﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Message.aspx.cs" Inherits="Message" %>

<asp:Content ID="Content1" ContentPlaceHolderID="SectionPlaceHolder" Runat="Server" >

    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server" >

        <div style="font-weight:bold">Advertise Your Event!!</div>
        <div>
         
           <asp:TextBox id="messageBox" runat="server" textmode="MultiLine" columns="50" rows="5"/>
           
           <asp:RequiredFieldValidator id="RequiredFieldValidatorMessages" runat="Server"
            controltovalidate="messageBox"
            display="Dynamic"
            errormessage="Please enter a message!" Text="*"></asp:RequiredFieldValidator>
            
           <asp:RegularExpressionValidator id="regMessages" 
            controltovalidate="messageBox" runat="server" 
            validationexpression="^[\s\S]{0,100}$" Text="*"
            ErrorMessage="Please enter fewer Characters" ></asp:RegularExpressionValidator>
            
        </div>
        <div>
        
            <%-- Submission Button --%>
            <p><asp:Button id="messageButton" runat="server" text="Submit" onclick="spamFriends" /></p>
        
        </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SideBarPlaceHolder" Runat="Server" >

</asp:Content>